package com.fxsh168.server.entitys;

import java.io.Serializable;

/**
 * Created by hasee on 2016/11/1.
 */
public class PersonInfoEntity implements Serializable {

    /**
     * code : 200
     * message : 成功！
     * data : {"photo":"http://120.25.102.30","sex":"0","age":"0","username":""}
     */

    private String code;
    private String message;
    /**
     * photo : http://120.25.102.30
     * sex : 0
     * age : 0
     * username :
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean<T> implements Serializable {
        private T id;
        private T photo;
        private T sex;
        private T age;
        private T username;

        public T getId() {
            return id;
        }

        public void setId(T id) {
            this.id = id;
        }

        public T getPhoto() {
            return photo;
        }

        public void setPhoto(T photo) {
            this.photo = photo;
        }

        public T getSex() {
            return sex;
        }

        public void setSex(T sex) {
            this.sex = sex;
        }

        public T getAge() {
            return age;
        }

        public void setAge(T age) {
            this.age = age;
        }

        public T getUsername() {
            return username;
        }

        public void setUsername(T username) {
            this.username = username;
        }
    }
}
